package com.kdd.campus.sh.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/****
 * @Author:shenkunlin
 * @Description:ShLeaveMessage构建
 * @Date 2019/6/14 19:13
 *****/
@ApiModel(description = "ShLeaveMessage",value = "ShLeaveMessage")
@Table(name="sh_leave_message")
public class ShLeaveMessage implements Serializable{

	@ApiModelProperty(value = "",required = false)
	@Id
    @Column(name = "id")
	private Integer id;//

	@ApiModelProperty(value = "留言内容(不超过500字)",required = false)
    @Column(name = "content")
	private String content;//留言内容(不超过500字)

	@ApiModelProperty(value = "是否可见",required = false)
    @Column(name = "display")
	private Integer display;//是否可见

	@ApiModelProperty(value = "修改时间",required = false)
    @Column(name = "modified")
	private Date modified;//修改时间

	@ApiModelProperty(value = "父留言的id(用于留言的回复)",required = false)
    @Column(name = "parent_id")
	private Integer parentId;//父留言的id(用于留言的回复)

	@ApiModelProperty(value = "",required = false)
    @Column(name = "created")
	private Date created;//



	//get方法
	public Integer getId() {
		return id;
	}

	//set方法
	public void setId(Integer id) {
		this.id = id;
	}
	//get方法
	public String getContent() {
		return content;
	}

	//set方法
	public void setContent(String content) {
		this.content = content;
	}
	//get方法
	public Integer getDisplay() {
		return display;
	}

	//set方法
	public void setDisplay(Integer display) {
		this.display = display;
	}
	//get方法
	public Date getModified() {
		return modified;
	}

	//set方法
	public void setModified(Date modified) {
		this.modified = modified;
	}
	//get方法
	public Integer getParentId() {
		return parentId;
	}

	//set方法
	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}
	//get方法
	public Date getCreated() {
		return created;
	}

	//set方法
	public void setCreated(Date created) {
		this.created = created;
	}


}
